package jee.boot.module.tree.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import jee.boot.common.basic.TreeEntity;

/**
 * 示例-树表操作Entity
 * @author 
 * @version 2019-06-19
 */
@ApiModel(description = "示例-树表操作")
public class DemoTree extends TreeEntity<DemoTree> {
	
	private static final long serialVersionUID = 1L;
	@ApiModelProperty(value = "数据状态")
	private String status;		// 数据状态
	
	public DemoTree() {
		super();
	}

	public DemoTree(String id){
		super(id);
	}

	/**
	 * 父对象，只能通过子类实现，父类实现mybatis无法读取
	 *
	 * @return
	 */
	@Override
	public DemoTree getParent() {
		return null;
	}

	/**
	 * 父对象，只能通过子类实现，父类实现mybatis无法读取
	 *
	 * @param parent
	 * @return
	 */
	@Override
	public void setParent(DemoTree parent) {

	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}
	

}